﻿using SQLEditor.admin.entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace SQLEditor.admin.service
{
    public interface IAnswer
    {
        void answerCreateIndex(SqlAnswer qa, int questionId, string answerSql);
        void answerCreateView(SqlAnswer qa, int questionId, string answerSql);

        void answerInsert(SqlAnswer qa, int questionId, string answerSql);

        void answerAlterTable(SqlAnswer qa, int questionId, string answerSql);

        void answerCreateTable(SqlAnswer qa, int questionId, string answerSql);

        void saveAnswerRecord(int qid, string answer, int status, string statusStr, int score, int userId);

        DataTable select(string sql);        

        string test();

    }
}
